{% extends "帖子/Yy天涯/H5/template.html" %}
{% block title %}我的{% endblock %}
{% block css %}
<style>
    .user_info {
        height: 200px;
    }


    .tools_item {
        padding: 12px;
        margin-top: 10px;
        margin-left: 10px;
    }
  
   
</style>


{% endblock %}
{% block body %}
<div class="layui-card">
    <div class="layui-card-header Yy-d-flex ">
        <span>
            <img src="/static/CloudImages/帖子/Yy天涯/util/论坛资讯 (2).png" alt="">
            Yy天涯
        </span>
        <span class="iconfont icon-shezhi Yy-ml-auto layui-font-24"></span>
    </div>
    <div class="layui-card-body">
      <div class="user_info Yy-d-flex Yy-flex-cen">
        <img src="/static/CloudImages/帖子/Yy天涯/util/logo.png" alt="">
      </div>
      <hr class="layui-border-blue">

      <div class="tools_nav Yy-d-flex Yy-flex-wrap Yy-flex-cen">
        <div class="tools_item Yy-text-cen Yy-br-8 Yy-shadow" data-url="/web/HaiJiaoH5/watch_history/">
            <span class="iconfont icon-guankanlishi layui-font-26 "></span>
            <p class="layui-font-13 ">观看历史</p>
        </div>
      </div>
    </div>
  </div>
<!-- 手机底部导航栏 -->
{% include "帖子/Yy天涯/H5/include/tabBar.html" %}
{% endblock %}
{% block js %}

<script>
    let tools_item = document.querySelectorAll(".tools_item");
    for (let i = 0; i < tools_item.length; i++) {
        tools_item[i].addEventListener('click', () => {
            let url = tools_item[i].dataset.url;
            if (url) {
                window.location.href = url;
            }
        })
        
    }
</script>

{% endblock %}